package com.twotwoshop.service.user.controller;

import com.twotwoshop.domin.common.dtos.ResponseResult;
import com.twotwoshop.service.user.service.UserStatsService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

@RestController
@Slf4j
@RequestMapping("/user/stats")
@RequiredArgsConstructor
public class UserStatsController {

    private final UserStatsService userStatsService;

    /**
     *
     * 查询用户基本信息 收藏 足迹 关注
     *
     * @param
     * @return
     */
    @GetMapping()
    public ResponseResult search(){

        log.info("查询用户基本信息 收藏 足迹 关注...{}");

        return userStatsService.search();
    }



}
